package edu.umn.contactviewer;

import java.io.Serializable;

/**
 * Model class for storing a single contact.
 * 
 */
public class Contact implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 395920693127734391L;
	String name;
	String title;
	String email;
	String twitterId;
	String phone;
	String groupId;
	String _id;
	String status;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTwitterId() {
		return twitterId;
	}

	public void setTwitterId(String twitterId) {
		this.twitterId = twitterId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	@Override
	public String toString() {
		return "Contact [status="+status +"name=" + name + ", title=" + title + ", email="
				+ email + ", twitterId=" + twitterId + ", phone=" + phone
				+ ", groupId=" + groupId + ", _id=" + _id + "]";
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
